<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Copies large object</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.oci-lob-copy" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">oci_lob_copy</h1>
  <p class="verinfo">(PHP 5, PHP 7, PECL OCI8 &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">oci_lob_copy</span> &mdash; <span class="dc-title">Copies large object</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.oci-lob-copy-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>oci_lob_copy</strong></span>
    ( <span class="methodparam"><span class="type"><span class="type OCI-Lob">OCI-Lob</span></span> <code class="parameter">$lob_to</code></span>
   , <span class="methodparam"><span class="type"><span class="type OCI-Lob">OCI-Lob</span></span> <code class="parameter">$lob_from</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$length</code><span class="initializer"> = 0</span></span>
  ] ) : <span class="type">bool</span></div>

  <p class="para rdfs-comment">
   Copies a large object or a part of a large object to another large object.
   Old LOB-recipient data will be overwritten.
  </p>
  <p class="para">
   If you need to copy a particular part of a LOB to a particular position of
   a LOB, use <span class="function"><a href="oci_lob.seek.html" class="function">OCI-Lob::seek()</a></span> to move LOB internal pointers.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.oci-lob-copy-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">lob_to</code></dt>

     <dd>

      <p class="para">
       The destination LOB.
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">lob_from</code></dt>

     <dd>

      <p class="para">
       The copied LOB.
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">length</code></dt>

     <dd>

      <p class="para">
       Indicates the length of data to be copied.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.oci-lob-copy-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回 <strong><code>TRUE</code></strong>， 或者在失败时返回 <strong><code>FALSE</code></strong>。
  </p>
 </div>


</div></div></div></body></html>